package com.daniel.mi.enumutil;

/**
 * @Author zengneng46764
 * @Date 2024/3/22 9:25
 * @description: TODO
 */
public enum EnumMqType {
    DIRECT("direct", "订阅"),
    FONOUT("fonout", "扇出"),
    TOPIC("topic", "订阅");
    private String code;
    private String desc;
    EnumMqType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public String getCode() {
        return code;
    }
    public String getDesc() {
        return desc;
    }
}
